export default{
	namespaced :true,
	state:()=>({
		signin:uni.getStorageSync("signin"),
		signinday:uni.getStorageSync("signinday"),
	}),
	mutations:{
		updateSignin(state,signin){
			state.signin = signin
			this.commit("m_signin/saveSigninStorage")
		},
		saveSigninStorage(state){
			uni.setStorageSync("signin",state.signin);
		},
		updateSigninday(state,signinday){
			state.signinday = signinday
			this.commit("m_signin/saveSignindayStorage")
		},
		saveSignindayStorage(state){
			uni.setStorageSync("signinday",state.signinday);
		}
		
	}
}